﻿	      <?php include("conn.php");
             mysql_query('SET NAMES UTF8'); 

	  
class MyPrizeBean
{
	public $rets;

	function __construct($rets)
	{
		$this->rets      = $rets;
		
	}
}


          $rert31=mysql_query("select *from user where  phone ='".$_REQUEST[phone]."'");
$rowf1=mysql_fetch_array($rert31);

if($rowf1!=false)
{
		  
			
			$row=100;
			}
			else
			
			{
			$row=200;
			}
			
	$prize = array();
	         
			
    

			$prize[] = new MyPrizeBean($row);
		

echo json_encode($prize);


?>